ClutterActor has both a has_pointer() method and a :has-pointer
property (that we represent as 'has_pointer'). So far gjs was
able to deal with the name overlap, but now trying to use the
property will instead test for the availability of the method.
Just avoid the conflict by switching to the method, which is
unambiguous.
https://bugzilla.gnome.org/show_bug.cgi?id=785090
this._hidden = false;
this.title.show();
- if (this._windowClone.actor.has_pointer)
+ if (this._windowClone.actor.has_pointer())
this._animateVisible();
},
_idleToggleCloseButton: function() {
this._idleToggleCloseId = 0;
- if (!this._windowClone.actor.has_pointer &&
- !this.closeButton.has_pointer)
+ if (!this._windowClone.actor.has_pointer() &&
+ !this.closeButton.has_pointer())
this._animateInvisible();
return GLib.SOURCE_REMOVE;